package com.zhentao.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName t_user_role
 */
@TableName(value ="t_user_role")
@Data
public class TUserRole implements Serializable {
    /**
     * 用户角色主键
     */
    @TableId(value = "user_role_id", type = IdType.AUTO)
    private Integer userRoleId;

    /**
     * 用户外键
     */
    @TableField(value = "u_id")
    private Integer uId;

    /**
     * 角色外键
     */
    @TableField(value = "r_id")
    private Integer rId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}